import Cookies from 'js-cookie'

const TokenKey = 'vue_admin_template_token'

// 获取 TokenKey
export function getToken(key) {
  return Cookies.get(key)
}
// 设置 TokenKey
export function setToken(key) {
  return Cookies.set(TokenKey, key)
}
// 删除 TokenKey
export function removeToken(key) {
  return Cookies.remove(key)
}
